package com.jackstraw.jack_base.rules.service;

import com.jackstraw.jack_base.datasource.mybatis.base.service.MyBatisService;
import com.jackstraw.jack_base.rules.dao.database.RelationRgrDao;
import com.jackstraw.jack_base.rules.entity.bo.RelationRgrBo;
import com.jackstraw.jack_base.rules.entity.po.RelationRgrPo;
import com.jackstraw.jack_base.rules.entity.po.RelationRgrKeyPo;
import com.jackstraw.jack_base.rules.entity.po.RelationRgrPoExample;

import java.util.List;

/**
 * 规则组规则关系表  service接口
 *
 * @author zhaozhao 945514650@qq.com
 * @since version:1.0 generatorDate:2022-12-04 14:28:29
 */
public interface RelationRgrService
        extends MyBatisService<RelationRgrDao, RelationRgrPo, RelationRgrBo, RelationRgrKeyPo<RelationRgrPo>, RelationRgrPoExample> {

    /**
     * 通过ruleGroupId查询与规则的对应关系
     *
     * @param ruleGroupId
     * @return
     */
    List<RelationRgrBo> queryByRuleGroupId(Long ruleGroupId);
}